Skip to content

fix(release): install ARM C++ compiler for aarch64 build - #442

Merged
damiannolan merged 1 commit into
mainfrom
recur/fix-ci-failure
Nov 18, 2026
Merged

damiannolan merged 1 commit into
mainfrom
recur/fix-ci-failure

Conversation

@auricom

@auricom auricom commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Problem

The build-release (aarch64-unknown-linux-gnu) job fails because librocksdb-sys (C++) can't find aarch64-linux-gnu-g++; the workflow only installs gcc-aarch64-linux-gnu.

Fix

  • Install g++-aarch64-linux-gnu.
  • Export CC_/CXX_aarch64_unknown_linux_gnu and CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER so cc-rs and cargo use the cross toolchain (otherwise the link step falls back to the host cc).

Failing run: https://github.com/evstack/ev-reth/actions/runs/44278932789/job/134714162279

Note: an equivalent change was previously made and reverted (ab9f030 / e8aea9f); not verified why.

🤖 Generated with Claude Code

librocksdb-sys needs aarch64-linux-gnu-g++, which gcc-aarch64-linux-gnu
does not provide. Install g++-aarch64-linux-gnu and point cc-rs and cargo
at the cross compiler/linker.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@auricom
auricom requested a review from a team as a code owner November 18, 2026 10:30
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a7ca1c87-4fac-44d3-ac1b-dbc890f4419f
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@damiannolan
damiannolan merged commit 155538e into main Nov 18, 2026
14 checks passed
@damiannolan
damiannolan deleted the recur/fix-ci-failure branch November 18, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants